package com.ljs.threadpooldemo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class ThreadPoolDemoApplication {

    public static void main(String[] args) {
        //打印虚拟机参数
        for(int i=0;i<args.length;i++){
            System.out.println("第" + i + "个参数：" + args[i]);
        }
        System.out.println(" 系统可用最大堆内存：-Xmx" + Runtime.getRuntime().maxMemory() / 1000 / 1000 + "M");

        SpringApplication.run(ThreadPoolDemoApplication.class, args);
    }

}
